﻿using QwLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIE.SCADA.ZemtDemo.ViewModel
{
    /// <summary>
    /// 显示信息类
    /// </summary>
    public class Message : ObservableObject
    {
        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set
            {
                if (value != _Content)
                {
                    _Content = value;
                    OnPropertyChanged(nameof(Content));
                }
            }
        }
        private string _Content;
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            get { return _State; }
            set
            {
                if (value != _State)
                {
                    _State = value;
                    OnPropertyChanged(nameof(State));
                }
            }
        }
        private int _State;
    }
}
